<template>
  <div class="table">
    <el-table :data="tableData" style="width: 100%">
      <el-table-column
        v-for="(item, index) in tableData[0]"
        :label="index"
        :key="index"
        :width="item.width"
        :prop="index"
      >
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "TableTemplate",
  props: {
    tableData: Array,
    tableTitle: Array,
  },
  data() {
    return {};
  },
  methods: {},
};
</script>
<style lang="scss" scoped></style>
